<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Rules
 *
 * @ORM\Table(name="rules")
 * @ORM\Entity
 */
class Rules
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var string|null
     *
     * @ORM\Column(name="name", type="string", length=255, nullable=true)
     */
    private $name;

    /**
     * @var int
     *
     * @ORM\Column(name="c", type="integer", nullable=false)
     */
    private $c;

    /**
     * @var string
     *
     * @ORM\Column(name="k", type="string", length=255, nullable=false)
     */
    private $k;

    /**
     * @var string
     *
     * @ORM\Column(name="v", type="text", length=0, nullable=false)
     */
    private $v;

    /**
     * @var string|null
     *
     * @ORM\Column(name="tips", type="string", length=255, nullable=true)
     */
    private $tips;

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getName(): ?string
    {
        return $this->name;
    }

    public function setName(?string $name): self
    {
        $this->name = $name;

        return $this;
    }

    public function getC(): ?int
    {
        return $this->c;
    }

    public function setC(int $c): self
    {
        $this->c = $c;

        return $this;
    }

    public function getK(): ?string
    {
        return $this->k;
    }

    public function setK(string $k): self
    {
        $this->k = $k;

        return $this;
    }

    public function getV(): ?string
    {
        return $this->v;
    }

    public function setV(string $v): self
    {
        $this->v = $v;

        return $this;
    }

    public function getTips(): ?string
    {
        return $this->tips;
    }

    public function setTips(?string $tips): self
    {
        $this->tips = $tips;

        return $this;
    }


}
